#ifndef INC_APPLICATION_H_
#define INC_APPLICATION_H_

struct TApplication {
	int xres;
	int yres;
	void render();
	void update( float delta_time );
	void loadConfig();
	void cleanup();
	void onBoot();
	HRESULT initD3D( HWND hWnd );
};

bool isPressed( int key );

extern TApplication app;

#endif
